﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PPI
{
    public static class Constants
    {

        public const string K_RepositoryFolder = "C:\\PolePosition2.1";
        public const string k_PathSaveImages = "C:\\Temp\\";
        public static string k_Filename = K_RepositoryFolder+"\\PolePositionDesktop.kml";
        public static string K_InboxPath = K_RepositoryFolder + "\\Inbox\\";

        public const string OutboxFolderName = "Outbox";
        public const string InboxFolderName = "Inbox";
        public const string SentFolderName = "Sent";
        public const string ImageCacheFolderName = "Image-Cache";
        public const string ErrorFolderName = "Error";
        public const string TempFolderName = "Tmp";



        public const int k_ThumbailWidth = 160;
        public const int k_PREVIEWIMAGEWIDTH = 100;
        public const int k_PREVIEWIMAGEHEIGHT = 100;
        public const int k_ThumbailHeight = 120;
        public const string K_GoogleMapDirectionsKML = "http://maps.google.com/maps?f=d&hl=en&saddr=KML_SOURCE_ADDRESS&daddr=KML_DEST_ADDRESS&om=1&output=kml";
        public const string K_GoogleMapDirectionsWEB = "http://www.dev-poleposition.com/Deploy/WebSite2.1/GEMap.aspx?f=d&hl=en&saddr=KML_SOURCE_ADDRESS&daddr=KML_DEST_ADDRESS&om=1";
        public const string K_BASEBLUEICON = "http://www.dev-poleposition.com/Images/IconGoogleEarth_Blue.png";
        public const string K_BASEYELLOWICON = "http://www.dev-poleposition.com/Images/IconGoogleEarth_Yellow.png";
        public const string K_INSPECTIONELECPROBICON = "http://www.dev-poleposition.com/Images/Visit_ElectricalProblem.png";
        public const string K_INSPECTIONRESULT1 = "http://www.dev-poleposition.com/Images/Visit_Result_1.png";
        public const string K_INSPECTIONRESULT2 = "http://www.dev-poleposition.com/Images/Visit_Result_2.png";
        public const string K_INSPECTIONRESULT3 = "http://www.dev-poleposition.com/Images/Visit_Result_3.png";
        public const string K_ASSETICON = "http://www.dev-poleposition.com/Images/Asset_XmissionStruct.png";
        public const string K_BASEREDMARK = "http://maps.google.com/mapfiles/kml/pushpin/red-pushpin.png";

        public const string K_WebGoogleEarth = "http://www.dev-poleposition.com/Deploy/Components/GoogleEarthInstaller/Google_Earth.exe";


        public static string K_LOCALLIBRARYSQLCE = K_InboxPath + "sqlce.wce5.armv4i.CAB";
        public static string K_LOCALFRAMEWORKCE = K_InboxPath + "NETCFv35.wce.armv4.cab";
        public static string K_LOCALAPPLICATIONMOBILE = K_InboxPath + "Installer.CAB";
        public static string K_LOCALAPPLICATIONREADME = K_InboxPath + "Install_Readme.txt";
        public static string K_LOCALDATABASEGPS = "PolePositionMobile.sdf";
        public static string K_LOCALDATABASEINSPECTIONS = "PolePositionUtility.sdf";
        public static string K_LOCALDATABASEDISTRIBUTION = "PolePositionDistribution.sdf";
        public static string K_LOCALDATABASEPROJECT = "Project.sdf";
        public static string K_LOCALDATABASEPROJECTPATH = K_RepositoryFolder + "\\Inbox\\" + K_LOCALDATABASEPROJECT;
        public static string K_LOCALAPPLICATIONINSPECTIONMOBILE = K_InboxPath + "InstallerInspection.CAB";
        public static string K_LOCALAPPLICATIONDISTRIBUTIONMOBILE = K_InboxPath + "InstallerDistribution.CAB";

        public const string K_WEBLIBRARYSQLCE = "http://www.dev-poleposition.com/Deploy/Components/MobileInstallFiles/sqlce.wce5.armv4i.CAB";
        public const string K_WEBFRAMEWORKCE = "http://www.dev-poleposition.com/Deploy/Components/MobileInstallFiles/NETCFv35.wce.armv4.cab";
        public const string K_WEBAPPLICATIONMOBILE = "http://www.dev-poleposition.com/Deploy/Components/MobileInstallFiles/Installer.CAB";
        public const string K_WEBAPPLICATIONINSPECTIONMOBILE = "http://www.dev-poleposition.com/Deploy/Components/MobileInstallFiles/Inspections/Installer.CAB";
        public const string K_WEBAPPLICATIONDISTRIBUTIONMOBILE = "http://www.dev-poleposition.com/Deploy/Components/MobileInstallFiles/Distribution/Installer.CAB";
        public const string K_WEBAPPLICATIONREADME = "http://www.dev-poleposition.com/Deploy/Components/MobileInstallFiles/Install_Readme.txt";

        public const string K_SERVERBASEFODLER = "E:\\web\\devpoleposi\\htdocs\\";
        public const string K_SERVERBASEURL = "http://www.dev-poleposition.com/";


        public static string K_OUTBOXPATH = K_RepositoryFolder + "\\" + OutboxFolderName + "\\";
        public static string K_SENTPATH = K_RepositoryFolder + "\\" + SentFolderName + "\\";

        public static string K_SENTGPSFOLDERS = K_SENTPATH + K_GPSFOLDERNAME;
        public static string K_SENTINSPECTIONFOLDERS = K_SENTPATH + K_INSPECTIONFOLDERNAME;
        public static string K_SENTDISTRIBUTIONINSPECTIONFOLDERS = K_SENTPATH + K_DISTRIBUTIONINSPECTIONFOLDERNAME;
        public static string K_SENTDISTRIBUTIONGPSFOLDERS = K_SENTPATH + K_DISTRIBUTIONGPSFOLDERNAME;

        public const string K_GPSFOLDERNAME = "GPS";
        public const string K_INSPECTIONFOLDERNAME = "Inspection";
        public const string K_DISTRIBUTIONINSPECTIONFOLDERNAME = "Distribution\\Inspection";
        public const string K_DISTRIBUTIONGPSFOLDERNAME = "Distribution\\GPS";
        public const string K_DISTRIBUTIONINSPECTIONMETERFOLDERNAME = "Distribution\\Inspection\\Meters";
        public const string K_DISTRIBUTIONGPSMETERFOLDERNAME = "Distribution\\GPS\\Meters";

        public static string K_OUTBOXGPSFOLDERS = K_OUTBOXPATH + K_GPSFOLDERNAME;
        public static string K_OUTBOXINSPECTIONFOLDERS = K_OUTBOXPATH + K_INSPECTIONFOLDERNAME;
        public static string K_OUTBOXDISTRIBUTIONINSPECTIONFOLDERS = K_OUTBOXPATH + K_DISTRIBUTIONINSPECTIONFOLDERNAME;
        public static string K_OUTBOXDISTRIBUTIONGPSFOLDERS = K_OUTBOXPATH + K_DISTRIBUTIONGPSFOLDERNAME;

        public static string K_OUTBOXGPSXML = K_RepositoryFolder + "\\" + "OutboxGPS.xml";
        public static string K_OUTBOXINSPECTIONXML = K_RepositoryFolder + "\\" + "OutboxInspection.xml";
        public static string K_OUTBOXDISTRIBUTIONINSPECTIONXML = K_RepositoryFolder + "\\" + "OutboxDistributionInspection.xml";
        public static string K_OUTBOXDISTRIBUTIONGPSXML = K_RepositoryFolder + "\\" + "OutboxDistributionGPS.xml";
        public static string K_SETTINGSKML = K_RepositoryFolder + "\\" + "SettingsConfig.xml";
        public static string K_ERRORPATH = K_RepositoryFolder + "\\" + ErrorFolderName + "\\LogError.txt";
        public static string K_WATCHPATH = K_RepositoryFolder + "\\" + ErrorFolderName + "\\LogWatch.txt";

        public const string K_WEBSITEUPLOADER = "http://www.dev-poleposition.com/Deploy/Website2.1/Upload.aspx";
        public const string K_WEBSITEHELP = "http://dev-poleposition.com/BETA/Help/Glossary.htm";
    }
}
